<div class="content4 content41 page" data-page="financingDetailInfo1" id="financingDetailInfo1">
	<p class="location">
		当前位置:
		<label class="locationInfo"><a href="javascript:void(0)" class="platform_main">首页</a>&nbsp;&gt;&nbsp;<a href="javascript:void(0)" class="financeApproveList">融资审批</a>&nbsp;&gt;&nbsp; 融资评审 </label>
	</p>
	<div class="d2 platformBtns">
		<span class="span4"><a class="financingDetailDynamic1">融资评审</a></span>
		<span class="span3">|</span><span class="span1"><a class="financeDetailInfo1" >融资项目信息</a></span>
		<span class="span3">|</span><span class="span2"><a class="evidentiaryCategorys1">证明材料</a></span>
		
	</div>
	<div class="tab1">
		<script type="text/template" id="financingDetail">
			{@each datas as it}
		<div class="d3">
			<div class="basic_info">
				基本信息
				<p><span class="span1" id="detailEnterpriseName">企业名称：${it.enterpriseName}<a class="enterpriseDetail">企业详情</a></span>
				</p>
				<p><span class="span1">融资编号：<span id="detailFinanceNumber">${it.financeNumber}</span></span><span class="span2">申请时间：<span id="detailApplicationDateTime">${it.applicationDateTime}</span></span></p>
				<p><span class="span1">申请金额：<span class="span3">&#65509;<span id="detailApplicationAmount" class="span4">${it.applicationAmount}</span></span></span><span class="span2">审核金额：<span class="span3">&#65509;<span class="span4" id="detailFinanceAmount">${it.financeAmount}</span></span></span></p>
				<p><span class="span1">借款方式：<span id="detailLoanMethod">
					${getValueByKey(33, it.loanMethod)}
					</span></span><span class="span2">预计服务费：<span class="span3">&#65509;<span id="deatailDstimateInterest">${it.estimateInterest}</span></span></span></p>
				<p><span class="span1">借款费率：<span>${it.interest}%</span></span><span class="span2">借款期限：<span id="detailLoanTimeLimit">${it.loanTimeLimit}</span>天</span></p>
			</div>
			<div class="goods_status" id="detailFinanceState">
				${getValueByKey(30, it.financeState)}
			</div>
			<div class="return_info">
				还款情况
				<p><span class="span1">已还金额：&#65509;${it.totalExchangeAmount-0+it.totalReceivedAmount-0}</span><span class="span2">未还金额：&#65509;${it.totalLoanAmount-it.totalReceivedAmount-it.totalExchangeAmount}</span></p>
				<p><span class="span1">服务费：&#65509;${it.estimateInterest}</span><span class="span2"></span></p>
			</div>
		</div>
		<div class="clear"></div>
		<div class="pledging_goods">
			<p class="goods_type">货物情况<span>${it.bulkstockCategory}</span></p>
			<table border="0" cellspacing="0" cellpadding="0">
				<tr><th class="th1">货物名称</th><th class="th2">规格型号</th><th class="th3">数量</th><th class="th4">重量(吨)</th><th class="th5">体积(m<sup>3</sup>)</th><th class="th6">产地</th><th class="th7">已交割</th><th class="th8">到港</th><th class="th9">已提</th><th class="th10">在押</th><th class="th11">异常</th></tr>
				{@each it.bulkstocks as that}
				<tr><td>${that.bulkstockName}</td><td>${that.specification}</td><td>${that.quantity}(${that.unit})</td><td>${that.weight}</td><td>${that.volume}</td><td>${that.originPlace}</td><td><a href="javascript:void(0);">${that.supervision}</a></td><td><a href="javacsript:void(0);">${that.harbor}</a></td><td><a href="#">${that.pickup}</a></td><td><a href="#" class="under_a">${that.incustody}</a></td><td><a href="#">${that.abnormal}</a></td></tr>
				{@/each}
			</table>
		</div>
		<div class="goods_addr">
			<p>收交货地</p>
			<p><span class="span1">收货地：<span id="detailReceiveAddress">${it.receiveProvince}--${it.receiveCity}--${it.receiveDistrict}--${it.receiveAddress}</span></span><span class="span2">收货人：<span id="detailReceiveContactor">${it.receiveContactor}</span></span><span class="span3">收货联系人电话：<span id="detailReceiveContactPhone">${it.receiveContactPhone}</span></span></p>
			<p><span class="span1">交货地：<span id="detailDeliverAddress">${it.deliverProvince}--${it.deliverCity}--${it.deliverDistrict}--${it.deliverAddress}</span></span><span class="span2">交货人：<span id="detailDeliverContactor">${it.deliverContactor}</span></span><span class="span3">交货联系人电话：<span id="detailDeliverContactPhone">${it.deliverContactPhone}</span></span></p>
		</div>
		<div class="require_keep">
			<p>保管要求</p>
			<p>包装要求：${it.packingDemand}</p>
			<p>标记要求：${it.markDemand}</p>
			<p>储存要求：${it.storeDemand}</p>
			<p>保管要求：${it.safekeep}</p>
		</div>
		{@/each}
		</script>
	</div>
	
	<!--完成融资项目-->
	<div id="supervisionEndall_dialog" class="dialog none" style="margin-top: -87.5px; margin-left: -200px;">
	<div class="dialogTitle">完成融资</div>
	<button class="closeDiv">×</button>
	<div class="dialogContent supervisionEndallContent" action="createSupervisionEndall" version="v1.0">
		<input type="hidden" name="financeId"/>
		<div class="EendillContent" >
				<p>
				<span for="" class="field-lab2 financing_field-lab2">说明：</span>
			<textarea class="field-input field-textarea2" name="remark"  maxlength="255"></textarea>		
			</p>		
	</div>
	<div class="footerBtn">
	<div id="sure_supervisionEndall" class="dialogBtn dialogHandlerBtn">提交</div>
	</div>
</div>
</div>
	
	
	<!--保存提单号-->
	<div id="fullBg" class="fullBg none"></div>
	<div id="financeWaybill_dialog" class="dialog none" style="margin-top: -87.5px; margin-left: -200px;">
	<div class="dialogTitle">保存运单号</div>
	<button class="closeDiv">×</button>
	<div class="dialogContent financeWaybillContent" action="createFinanceWaybill" version="v1.0">
		<input type="hidden" name="financeId"/>
		<div class="WaybillContent" >
			
				<script type="text/template" id="WaybillContent">
			<span for="" class="field-lab2 financing_field-lab2"> 订舱单号：
			<input class="field-input " placeholder="请输入订舱单号" isNull="1" minLength="1" maxLength="255" type="text" name="bookingSpaceNumber" codename="订舱单号"  />
			</span>
			<p id="waybillNumberP">
				
			<span for="" class="field-lab2 financing_field-lab2 position"> 运单号：
			<input class="field-input "  placeholder="请输入运单号" isNull="1" minLength="1" maxLength="255" type="text" name="waybillNumber" codename="提单号" />
			</span>
			</p>
			</script>
			<!--有数据可以动态加载数据-->
			<script type="text/template" id="WaybillContent1">
				
			<span for="" class="field-lab2 financing_field-lab2"> 订舱单号：
			<input class="field-input " placeholder="请输入订舱单号"  isNull="1" minLength="1" maxLength="255" type="text" name="bookingSpaceNumber" codename="订舱单号"  />
			</span>
			{@each datas as it,index}
			<p id="waybillNumberP">
			<span for="" class="field-lab2 financing_field-lab2 position"> 运单号：
			<input class="field-input "  placeholder="请输入运单号" isNull="1" minLength="1" maxLength="255" type="text" name="waybillNumber" value="${it.waybillNumber}" codename="提单号" />
			{@if index ==='0'}
			
			{@else}
			<a class="closeLayer"></a>
			
			{@/if}
			</span>
			</p>
				{@/each}
			</script>
	</div>
	<div class="footerBtn">
	<div id="add_FinanceWaybill" class="dialogBtn dialogHandlerBtn">添加运单号</div>
	<div id="sure_FinanceWaybill" class="dialogBtn dialogHandlerBtn">保存</div>
	</div>
</div>
</div>

<!--下发运输通知-->
<div id="transportNotice_dialog" class="dialog transportNotice_dialog none" style="margin-top: -87.5px; margin-left: -200px;">
	<div class="dialogTitle">下发运输通知</div>
	<button class="closeDiv">×</button>
	<div class="dialogContent transportNoticeContent" action="createTransportNotice" version="v1.0">
		<div>
			<input type="hidden" name="financeId"/>
			<p>
				<span for="" class="field-lab2 financing_field-lab2"> 融资信息编号：
			<input class="field-input noInput" minLength="1" maxLength="255" type="text" name="financeNumber" placeholder="融资信息编号" readonly="readonly" />
			
				<span for="" class="field-lab2 financing_field-lab2">物流公司：</span>
			<input type="hidden" name="logisticsCompanyName" class="supervisionCompanyNameInput"/>
			<select class="field-input weights" id="transportCompanyName" name="logisticsCompanyId">
                      	<script type="text/template" id="transportCompanyTpl">
                      	<option value=""></option>
                      	{@each datas as it}
                        <option value="${it.companyId}">${it.companyName}</option>
                        {@/each}
                       </script>
            </select>
			</p>
			<p>
				<span for="" class="field-lab2 financing_field-lab2">运输通知说明：</span>
			<textarea class="field-input field-textarea2" name="noticeRemark" id="noticeRemark"></textarea>		
			
			</p>
			<div >
					
						<table class="table">
							<thead>
								<tr>
									<th>操作</th>
									<th>运单号</th>
									<th>箱号</th>
									<th>箱型尺寸</th>
									<th>货名</th>
									<th>数量--重量--体积</th>
									<th>实际数量</th>
									<th>铅封号1</th>
									<th>铅封号2</th>
								</tr>
							</thead>
							<tbody id="inventoryBody">
								<script type="text/template" id="inventoryTpl">
				{@each datas as it,index}
								<tr>
									<td>
										<input type="checkbox" class="inventoryId" name="inventoryId" value="${it.inventoryId}" />
									</td>
									<td>${it.waybillNumber}</td>
									<td>${it.caseNumber}</td>
									<td>${it.caseSize}</td>
									
									<td>{@each it.containerBulkstocks as that}
										${that.bulkstockName}<br/>
									{@/each}
									</td>
									<td>
										{@each it.containerBulkstocks as that}
										${that.plannedQuantity}--${that.weight}--${that.volume}<br/>
									{@/each}
									</td>
									<td>{@each it.containerBulkstocks as that}
										${that.quantity}<br/>
									{@/each}
									</td>
									
									<td>${it.facingSlip}</td>
									<td>${it.facingSlipNext}</td>
								</tr>
								{@/each}
					</script>
							</tbody>
						</table>
						
			</div>
			
	</div>
	<div class="footerBtn">
	<div id="sure_transportNotice" class="dialogBtn dialogHandlerBtn sure_transportNotice">提交</div>
	</div>
</div>
</div>

